package com.allenkerr.common;

/**
 * 常量
 * Created by jason on 2017/3/17.
 */
public interface ApplicationConstant {

    //Redis Key
    interface RedisKey {

        String PHASH_MAP = "image:phash-map";

        String DHASH_MAP = "image:dhash-map";

        String GREY_HISTOGRAM_MAP = "image:grey-histogram-map";

        String ONE_RGB_HISTOGRAM_MAP = "image:1-rgb-histogram-map";

        String THREE_RGB_HISTOGRAM_MAP = "image:3-rgb-histogram-map";
    }

    //image thumb size
    interface ImageThumbSize {
        //pHash
        int PHASH_WIDTH = 8;
        int PHASH_HEIGHT = 8;

        //dHash
        int DHASH_WIDTH = 9;
        int DHASH_HEIGHT = 8;
    }

}
